﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucAlbum.ascx.cs" Inherits="SES.CMS.AdminCP.PageUC.ucAlbum" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v9.2, Version=9.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dxe" %>
<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>
<h2>
    Cập nhật Album</h2>
<table width="100%" border="1">
    <tr>
        <td class="style8">
            Tiêu đề:
        </td>
        <td class="style9">
            <asp:TextBox ID="txtTitle" runat="server" Width="350px" ValidationGroup="submitGrp"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtTitle"
                ErrorMessage="*** Cần nhập tiêu đề" ValidationGroup="submitGrp"></asp:RequiredFieldValidator>
            &nbsp; &nbsp;
        </td>
    </tr>
    <tr>
        <td class="style8">
           Thuộc Danh mục:
        </td>
        <td class="style9">
            <asp:DropDownList ID="cboCategory" runat="server" Width="250px" AppendDataBoundItems="true">
            <asp:ListItem Value="0" Text=".: Không chọn :."></asp:ListItem>
            </asp:DropDownList>
        </td>
    </tr>
    <tr>
        <td class="style8">
            Ảnh đại diện Album:
        </td>
        <td>
            <asp:FileUpload ID="fuImage1" runat="server" />
              &nbsp;
            <asp:HyperLink ID="hplImage" runat="server" Target="_blank" Visible="False">[Xem 
            ảnh]</asp:HyperLink>
        </td>
    </tr>
    <tr style="display: none;">
        <td class="style8">
            Hình ảnh đại diện cho Ảnh Kiểu:
        </td>
        <td>
            <asp:TextBox ID="txtTitle2" runat="server" Width="179px"></asp:TextBox>
            <asp:FileUpload ID="fuImage2" runat="server" />
        </td>
    </tr>
    <tr>
        <td class="style8">
            Mô tả:
        </td>
        <td>
           <asp:TextBox runat="server" ID="txtDesc" TextMode="MultiLine" Width="100%" Height="100px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td class="style8">
            &nbsp;
        </td>
        <td class="style4">
            <asp:Button ID="btnSave" runat="server" Text="Lưu" OnClick="btnSave_Click" ValidationGroup="submitGrp" />
            <asp:Button ID="btnReset" runat="server" Text="Hủy" />
        </td>
    </tr>
</table>
